import { Is } from "./enum";

// paging
export const DEFAULT_PAGE_SIZE: number = 20;
export const MAX_PAGE_SIZE: number = 10000;
export const MIN_PAGE_SIZE: number = 1;
export const DEFAULT_PAGE_INDEX: number = 1;
export const MIN_PAGE_INDEX: number = 1;
export const DEFAULT_PAGING = { pi: DEFAULT_PAGE_INDEX, ps: DEFAULT_PAGE_SIZE, sp: Is.no, paging: Is.yes };